package presenters;

import model.DbSchema;
import model.IPresenter;
import views.ChangeCarLocPanel;

public class ChangeCarLocPresenter extends IPresenter {
	private ChangeCarLocPanel myPanel;
	
	public ChangeCarLocPresenter(ChangeCarLocPanel p) {
		myPanel = p;
	}
	
	public void changeLocation(String locationOld, String car, String carType,
			String color, String seatCapacity, String transmission, String locationNew) {
		
		if(checkString2(locationOld) && checkString2(car) && checkString(carType) 
				&& checkString(color) && checkString(seatCapacity)
				&& checkString(transmission) && checkString2(locationNew)) {
			
			
			String sql = 
					"UPDATE " + DbSchema.CAR_COLOR + " "
					+ "SET "
							+ "";
		}
	}
}
